The Slide show V 1.0 ( Banner ). by A.R. van der Schaar (Java Solutions) http:// www.van-der-schaar.demon.nl/ Java@van-der-schaar.demon.nl ********************************************************************************** This is a user definable slide show also called banner. You can changed everything. In this volume only a few effects are possible. But I am creating more effects for it. ********************************************************************************** The pictures : The pictures maybe of a GIF or JPG format. The Width and Height of all these images must be equal. ********************************************************************************** In this package is also a file included ********************************************************************************** HTML parameters width and height the width and height of the applet. CABBASE Explorer will now that the classes can be loaded from the cab file : fade.cab. If you use this then the loading is faster then loading all the classes as seperate files. BACKCOLOR The color of the background = ( r* 65536 + g*256 + b ) BACKIMAGE The name of the backgroundimage, if you don't want a background image then leave it blank. BACKOFFSETX/Y The offset for the x and y position of the background image. IMAGEn The images you want to use in the slide show. Start with the number 0 then 1 then 2 , etc. TEXTn The text that should apear on the bottom of the applet. This can give information to the viewer. REFn This is the link that this image contains when this images is enabled then clicking on the applet will start loading this document or email adress. This link must be like this : " http://www.van-der-schaar.demon.nl/index.html/" this last example will not work : " ..\applet\index.html " WHEREn The location where the document must loaded. _self show in current frame _parent show in parent frame _top show in top-most frame _blank show in new unnamed top-level window ******* show in new top-level window named example : index.html contains 2 frames : select.html name of frame is select home.html name of frame is home in select.html is the slide show in the WHERE0 parameter we place "HOME" When clicking on side 1 the document will load int the frame called home. So the slideshow will always be available. ********************************************************************************** The file fade.ini This file contains the commands of what to do with an image. Change everything here. Play with it and you understand it. selectImage,0 This command will select image number 0. implode,60 This is the oposite of the explode , number of parameters is one. Indicating the number of steps it has to do. moveout,10,0 Moving the picture from the middel to left right up or down. Two parameters, representing the number of x steps and y steps. If the two parameters are both not zero they have to be equal otherwise it will stay in a loop. circleSN,2,20 Rotating picture from nothing(small) to normal. Parameters two: the rotation speed , the number of steps. loadimage,1 At the beginning of the applet only the first image ( Image0) will be loaded. If you want to do something with another image. You can load it by using this parameter. ( It is not nessecary to use this parameter ). But It can be useful if you start with a new image. and the applet stays blank for a long time. Then if you put this somewhere before this is happening, the image will be loaded. ( and the applet waits here until the image is loaded). circleNG,-1,40 The same as circleSN but now from normal size to Big circleGN,1,30 The same as circleSN but now from Bigto normal size. explode,20 Explode the image in n steps. Where n is the parameter. selectImage,1 implode,20 moveout,10,0 movein,10,0 The same as moveout but now from outside the applet to the middle. moveout,10,0 implode,20 delay,1000 The show waits for n milliseconds here ( this example is waiting for 1 second. ) circleNS,-2,40 And this is ofcourse from the normal size to small nothing size. selectImage,2 circleSN,1,50 ********************************************************************************** After finishing the last line the applet will start at the beginning. Using other commands or blank lines in this file can cause a flash. The image will be blank. **********************************************************************************